package com.team5101.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class TProduct implements Serializable {
    private Long pId;

    private String pName;

    private String pImageMain;

    private String pImageBak;

    private BigDecimal pPrice;

    private String pStandards;

    private String pIntro;

    private String pTypeOwn;

    private String pType;

    private String pEndtime;

    private Integer pSign;

    private String pTag;

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName == null ? null : pName.trim();
    }

    public String getpImageMain() {
        return pImageMain;
    }

    public void setpImageMain(String pImageMain) {
        this.pImageMain = pImageMain == null ? null : pImageMain.trim();
    }

    public String getpImageBak() {
        return pImageBak;
    }

    public void setpImageBak(String pImageBak) {
        this.pImageBak = pImageBak == null ? null : pImageBak.trim();
    }

    public BigDecimal getpPrice() {
        return pPrice;
    }

    public void setpPrice(BigDecimal pPrice) {
        this.pPrice = pPrice;
    }

    public String getpStandards() {
        return pStandards;
    }

    public void setpStandards(String pStandards) {
        this.pStandards = pStandards == null ? null : pStandards.trim();
    }

    public String getpIntro() {
        return pIntro;
    }

    public void setpIntro(String pIntro) {
        this.pIntro = pIntro == null ? null : pIntro.trim();
    }

    public String getpTypeOwn() {
        return pTypeOwn;
    }

    public void setpTypeOwn(String pTypeOwn) {
        this.pTypeOwn = pTypeOwn == null ? null : pTypeOwn.trim();
    }

    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType == null ? null : pType.trim();
    }

    public String getpEndtime() {
        return pEndtime;
    }

    public void setpEndtime(String pEndtime) {
        this.pEndtime = pEndtime == null ? null : pEndtime.trim();
    }

    public Integer getpSign() {
        return pSign;
    }

    public void setpSign(Integer pSign) {
        this.pSign = pSign;
    }

    public String getpTag() {
        return pTag;
    }

    public void setpTag(String pTag) {
        this.pTag = pTag == null ? null : pTag.trim();
    }

    @Override
    public String toString() {
        return "TProduct{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pImageMain='" + pImageMain + '\'' +
                ", pImageBak='" + pImageBak + '\'' +
                ", pPrice=" + pPrice +
                ", pStandards='" + pStandards + '\'' +
                ", pIntro='" + pIntro + '\'' +
                ", pTypeOwn='" + pTypeOwn + '\'' +
                ", pType='" + pType + '\'' +
                ", pEndtime='" + pEndtime + '\'' +
                ", pSign=" + pSign +
                ", pTag='" + pTag + '\'' +
                '}';
    }
}